//
//  AppDelegate.h
//  PackDemo
//
//  Created by 01 on 16/11/1.
//  Copyright © 2016年 蔡正军. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>

+ (AppDelegate *) currentAppDelegate;

@property (strong, nonatomic) UIWindow *window;

@property (nonatomic, assign) BOOL currentScreenStatus;

@property (nonatomic, assign) NSInteger messageStatus;

@property (nonatomic, assign) BOOL updateStatus;
//推送字典
@property (nonatomic, copy) NSDictionary *pushDict;
//需要加载开屏
@property (nonatomic, assign) BOOL startViewNeedOpen;
@property (nonatomic, assign) BOOL reloadFinish;
// 判断是否正在加载小说内容
@property (nonatomic, assign) BOOL isReadLoad;
// 判断是否上架成功
@property (nonatomic, assign) BOOL isShelfSuccess;
// 判断是否加载网页
@property (nonatomic, assign) BOOL stopOpenHomepage;
// 判断淘宝IM登录是否成功
@property (nonatomic, assign, getter=isTaobaoIMLogin) BOOL taobaoIMLogin;

/**
 初始化IM控件
 */
- (void) setupIM;
- (void) loadRootViewController:(UIViewController *) viewCtl;
- (void) postAppInfo;
@end

